//
//  FloatingPlayerController.h
//  F FloatingPlayer
//
//  Created by yonas on 2018/9/26.
//  Copyright © 2018年 Inspur. All rights reserved.
//  负责view和model的绑定。具体的显示和隐藏入口。

#import <Foundation/Foundation.h>
#import "FloatingViewModel.h"
@class FloatingViewController;

@protocol FloatingPlayerControllerDelegate <NSObject>

- (void)floatingController_backToFromVcWithClass:(Class)cls floatingModel:(FloatingViewModel *)floatingModel floatingViewController:(FloatingViewController *)controller;

@end

@interface FloatingViewController : NSObject

- (instancetype)initWithPlayerModel:(FloatingViewModel *)playerModel delegate:(id <FloatingPlayerControllerDelegate>) delegate;

- (void)floatingController_show;

- (void)floatingController_hide;

- (UIView *)getFloatingWindow;
@end
